<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Inspire - Admin and Dashboard Template</title>

    <link rel="stylesheet" type="text/css" href="/assets/css/bootstrap.min.css">

    <link rel="stylesheet" type="text/css" href="/assets/fonts/line-icons.css">

    <link rel="stylesheet" type="text/css" href="/assets/css/main.css">

    <link rel="stylesheet" type="text/css" href="/assets/css/responsive.css">
</head>
<body>
<div class="card-header border-bottom">
    <h4 class="card-title">个人信息查询</h4>
</div>
<div class="msg" th:text="${msg}"></div>
<div class="card-body">
    <div class="row">
        <div class="col-lg-10 col-md-12 col-xs-12">
            <form role="form" id="form-validation" novalidate="novalidate" >
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">员工编号</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="inputMaxLength" th:value="${userList.id}">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">账号</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="inputMinLength" th:value="${userList.userName}">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">用户名</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="realName" th:value="${userList.realName}">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">电话</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="phone" th:value="${userList.phone}">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">身份证</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="card" th:value="${userList.card}">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">性别</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="age" th:value="${userList?.gender()}">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">年龄</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="age" th:value="${userList.age()}">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">职务</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="role" th:value="${userList.role==0 ? '超级管理员':'员工'}">
                    </div>
                </div>

                <div class="form-group row">
                    <label class="col-sm-2 col-form-label control-label">状态</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="state" th:value="${userList.state==0 ? '离职':'在职'}">
                    </div>
                </div>
                <input id="ret" type="button" class="btn btn-common" value="返回">
            </form>
        </div>
    </div>
</div>

<script type="text/javascript">
    $(".msg").slideUp(2000);
    $("#ret").bind("click",function () {
        toJump("/user/main")
    })
</script>
<script src="/assets/js/jquery-min.js"></script>
<script src="/assets/js/popper.min.js"></script>
<script src="/assets/js/bootstrap.min.js"></script>
<script src="/assets/js/jquery.app.js"></script>
<script src="/assets/js/main.js"></script>
</body>

</html>